/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Modelo;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 *
 * @author LOTICA
 */
public class Psicotecnica extends Prueba{
private double calficaion;
public double getTotal() {
    double cali=calficaion;
    return cali;
}
    public double getCalficaion() {
        return calficaion;
    }

    public void setCalficaion(double calficaion) {
        this.calficaion = calficaion;
    }
 public static Psicotecnica Load( ResultSet rs )throws SQLException
     {
        Psicotecnica p=new Psicotecnica();
       p.setCodigo(rs.getString(1));
        p.setFecha(rs.getDate(2));
        p.setNomencargado(rs.getString(3));
        p.setLugar(rs.getString(4));
        p.setBacante(rs.getString(5));
        p.setCalficaion(rs.getDouble(6));
        return p;
     }
}
